package dp.strategy.ducks;

import dp.strategy.GeneralDuck;
import dp.strategy.behavior.impl.CommonQuack;
import dp.strategy.behavior.impl.FlyWithWings;

public class MallardDuck extends GeneralDuck {

	public MallardDuck() {
		setFlyBehavior(new FlyWithWings());
		setQuackBehavior(new CommonQuack());
	}
	
	@Override
	protected void display() {
		System.out.println("this is a MallardDuck");
	}

}
